package com.wh.webflux.event;

import com.wh.webflux.pojo.DelayDeleteSuccessEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: GooGoo
 * @time: 2023/4/10 16:57
 */
@Slf4j
@Component
public class DelayDeleteEventListener {

    @EventListener
    public void handleNotifyEvent(DelayDeleteSuccessEvent event) {
        log.info("监听到删除成功事件：" +
                "{}", event.getId());
    }

}